namespace :template_wrapper do

  desc 'Install the default initilaizer to Rails.root/config/initializers.'
  task :customize => :environment do
    gem_path = "#{Gem.searcher.find('template_wrapper').full_gem_path}"
    path_to_init =  gem_path << "/config/initializers/template_wrapper_initializer.rb"
    `cp -rp #{path_to_init} #{Rails.root}/config/initializers/`
  end
  
end